<div class="flex-viewport">
	<ul class="slides">
		<?php foreach ($allBanner['home'] as $banner):?>
		<!-- item -->
		<li class="flex-active-slide">
			<article class="post-60 post type-post status-publish format-video has-post-thumbnail hentry category-featured category-mixed tag-demo tag-design tag-example group" id="post-60">
				<div class="post-inner post-hover">

					<div class="post-thumbnail">
						<a title="<?php echo $banner['ban_name'];?>" href="<?php echo $banner['ban_link'];?>">
							<?php echo $this->Html->image('/admin/uploads/' . $banner['ban_picture'], array('alt' => $banner['ban_name'], 'fullBase' => false, 'width' => 720, 'height' => 340));?>
						</a>
					</div><!--/.post-thumbnail-->

				</div><!--/.post-inner-->
			</article><!--/.post-->

		</li>

		<?php endforeach;?>
	</ul>
</div>
<!--
<ol class="flex-control-nav flex-control-paging">
	<li><a class="flex-active">1</a></li>
	<li><a class="">2</a></li>
</ol>
<ul class="flex-direction-nav">
	<li><a href="#" class="flex-prev">Previous</a></li>
	<li><a href="#" class="flex-next">Next</a></li>
</ul> -->
